package com.proxy.cglib;

/**
 * @Date 2022/9/5 18:58
 * @Author WangLinBao
 * @Description
 */
public class Client {

    public static void main(String[] args) {
        TeachDao target = new TeachDao();
        TeachDao proxyInstance = (TeachDao)new ProxyFactory(target).getProxyInstance();
        proxyInstance.teach();
    }
}
